package com.water.entity.wx;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

public class Wx_User {
    private String uid;

    @NotNull
    private String name;

    @NotNull
    @Size(max = 11)
    private String phone_number;

    @NotNull
    private String pwd;

    public Wx_User() {
    }

    public Wx_User(String uid, String name, String phone_number, String pwd) {
        this.uid = uid;
        this.name = name;
        this.phone_number = phone_number;
        this.pwd = pwd;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone_number() {
        return phone_number;
    }

    public void setPhone_number(String phone_number) {
        this.phone_number = phone_number;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    @Override
    public String toString() {
        return "WxUser{" +
                "uid='" + uid + '\'' +
                ", name='" + name + '\'' +
                ", phone_number='" + phone_number + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
